package edu.ncet.desktop.shared;

import java.io.Serializable;

import com.google.gwt.user.client.rpc.IsSerializable;

public class QuestionModel implements Serializable, IsSerializable {

	private static final long serialVersionUID = -2023238700403178217L;
	
	private Integer quesNo;
	private String question;
	private String ans1;
	private String ans2;
	private String ans3;
	private String ans4;
	private Integer estimatedTime;
	
	public QuestionModel(){}
	
	public QuestionModel(Integer quesNo,String question, String[] ans, int estimatedTime) {
		super();
		this.ans1 = ans[0];
		this.ans2 = ans[1];
		this.ans3 = ans[2];
		this.ans4 = ans[3];
		this.quesNo = quesNo;
		this.question = question;
		this.estimatedTime = estimatedTime;
	}

	public Integer getEstimatedTime() {
		return estimatedTime;
	}

	public void setEstimatedtime(Integer estimatedTime) {
		this.estimatedTime = estimatedTime;
	}

	public Integer getQuesNo() {
		return quesNo;
	}

	public void setQuesNo(Integer quesNo) {
		this.quesNo = quesNo;
	}

	public String getQuestion() {
		return question;
	}

	public void setQuestion(String question) {
		this.question = question;
	}

	public String getAns1() {
		return ans1;
	}

	public void setAns1(String ans1) {
		this.ans1 = ans1;
	}

	public String getAns2() {
		return ans2;
	}

	public void setAns2(String ans2) {
		this.ans2 = ans2;
	}

	public String getAns3() {
		return ans3;
	}

	public void setAns3(String ans3) {
		this.ans3 = ans3;
	}

	public String getAns4() {
		return ans4;
	}

	public void setAns4(String ans4) {
		this.ans4 = ans4;
	}
}
